package cn.gailvlun.gll.presentation.apartment.adapter;

import android.content.Context;

import com.github.markzhai.recyclerview.SingleTypeAdapter;

import cn.gailvlun.gll.R;
import cn.gailvlun.gll.net.apartment.room.Room;



public class ApartmentListAdapter extends SingleTypeAdapter<Room> {
    public ApartmentListAdapter(Context context) {
        super(context, R.layout.item_apartment_list);
    }

    public int getLastRoomId() {
        return mCollection.get(mCollection.size() - 1).getId();
    }
}
